package tsCIM

/**
 * Created by Administrator on 2019-03-16.
 */
enum ResultCode{

    OPT_SUCCESS("操作成功",200),
    NET_ERROR("网络异常",-100),
    REQUEST_MQ_ERROR("请求MQ异常",-200),
    RESPONSE_MQ_ERROR("接收MQ异常",-300),
    SERVER_CONVERT_ERROR("Server异常：xml转json出错",-400),
    SERVER_INTERFACE_ERROR("Server接口异常",-500)

    public String msg ;
    public int code ;
    private ResultCode(String message,int code){
        this.code = code
        this.msg = message
    }

}